-- GENERATED SPELL FOR [Entropic Beast] --


function spell0_9878(pUnit, Event) --@Immolate,n/a--
pUnit:FullCastSpellOnTarget(15661,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9878', 21000, 1)
end

function Sorts_9878(pUnit, Event)
local choix_sorts_9878 = math.random(0, 0)
if choix_sorts_9878 == 0 then
pUnit:RegisterEvent('spell0_9878', 1, 1)
end
end

function mob9878_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9878', math.random(1500, 3000), 1)
end

function mob9878_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9878_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9878_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9878, 1, 'mob9878_Action')
RegisterUnitEvent(9878, 2, 'mob9878_Leave')
RegisterUnitEvent(9878, 3, 'mob9878_Kill')
RegisterUnitEvent(9878, 4, 'mob9878_Die')
